import { createRouter, createWebHashHistory } from 'vue-router';
// import Home from '@/views/HomeView.vue';

const routes = [
  {
    path: '/',
    name: 'index',
    component: () => import('@/views/Home.vue'),
  },
  {
    path: '/echarts',
    name: 'echarts',
    component: () => import('@/views/echarts.vue'),
  },
//   {
//     path: '/todo',
//     name: 'todo',
//     component: () => import('@/views/todoList.vue'),
//   },
];

const router = createRouter({
  history: createWebHashHistory(),
  routes,
});

export default router;

